CMAKE_MINIMUM_REQUIRED(VERSION 3.8)
set(PROJECT_NAME geometry_calculation)
ADD_COMPILE_OPTIONS(-fPIC)

# 放在Set选项 之后
project(${PROJECT_NAME})
 

file(GLOB_RECURSE SRC_LIST
"${CMAKE_CURRENT_SOURCE_DIR}/src/*.cpp"
)
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})

ADD_LIBRARY(${PROJECT_NAME} SHARED ${SRC_LIST})


